#ifndef STARFIELD_H
#define STARFIELD_H

#include <GameGlobals.h>

class Starfield
{
	public:
		
		Starfield(vec2 location, float W, float H, unsigned size, float margin = 0);
	
		truth IsNearby(vec2 pos, float nearDist);
		void Draw();
	
	private:

		vec2 loc;
		float w;
		float h;
		std::vector<vec2> stars;
};

std::vector<Starfield> MakeStarfields(unsigned numFields, float chunksize, unsigned starsPerChunk);



#endif